package com.zj.system.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @program: clms-seventh
 * @description: 登陆信息实体类
 * @author: 张静
 * @create: 2021-07-24 09:52
 **/
@Data
@TableName("sys_logininfor")
@ApiModel(value="LoginInfo对象", description="登陆信息表")
public class LoginInfo {
    @ApiModelProperty(value = "日志ID")
    @TableId(value = "info_id", type = IdType.AUTO)
    private Integer infoId;

    @ApiModelProperty(value = "登录账号")
    private String loginName;

    @ApiModelProperty(value = "登陆IP地址")
    private String ipaddr;

    @ApiModelProperty(value = "登陆地点")
    private String loginLocation;

    @ApiModelProperty(value = "浏览器类型")
    private String browser;

    @ApiModelProperty(value = "操作系统")
    private String os;

    @ApiModelProperty(value = "登陆状态（0成功 1失败）")
    private String status;
    @ApiModelProperty(value = "提示信息")
    private String msg;

    @ApiModelProperty(value = "访问时间")
    private LocalDateTime loginTime;

}
